package com.gupaoedu.spring.framework.beans;

/**
 * @author fan
 * @version 1.0v
 * @Description 封装原生对象和代理对象
 * @date 2021-01-03 19:35
 * @email 44867924@qq.com
 */
public class GPBeanWrapper {

    private Object wrapperInstance;
    private Class<?> wrapperClass;

    public GPBeanWrapper(Object wrapperInstance){
        this.wrapperInstance = wrapperInstance;
        this.wrapperClass = wrapperInstance.getClass();
    }

    public Object getWrapperInstance() {
        return wrapperInstance;
    }

    public Class<?> getWrapperClass() {
        return wrapperClass;
    }
}
